#!/bin/bash

echo -n "Is it morning? Please answer yes or no: "
read answer

if [ "$answer" = 'yes' ]; then
	echo "Good morning!"
elif [ "$answer" = 'no' ]; then
	echo "Good afternoon!"
else
	echo "Wrong answer!"
	exit -1
fi

exit 0
